Skip to content

fix(standard): lock a benchmark's task sets while one is created, renamed or deleted - #832

Merged
harenome merged 1 commit into
ThinkFlowLab:mainfrom
harenome:fix/task-sets-lock
Dec 4, 2026
Merged

harenome merged 1 commit into
ThinkFlowLab:mainfrom
harenome:fix/task-sets-lock

Conversation

@harenome

@harenome harenome commented Dec 4, 2026 •

Copy link
Copy Markdown
Collaborator

Closes #818

What

  • Create, rename, delete and import of a benchmark's sets run under sets/<benchmark>.lock (ondisk.locked), name check and write inside.
  • A second create with the same label gets dev-2.
  • migrate --apply checks again and writes each benchmark's sets under that lock.
  • Refusals and no-ops make nothing, lock included.

Touches

sets.py, migrate.py, docs/concepts.md. Page and command share sets; neither changes.

Verified

  • On main: a create lost; a rename left the set twice; a deleted set came back.
  • New tests: races, umask 0277, a 0300 folder, refusals, migration.
  • Backend and route suites pass.

Risk

Low.

Agents

Claude Code, Opus 5.5; Codex, GPT-6.2-Astra (review)

@github-actions github-actions Bot added the merge conflict Conflicts with its base: merge or rebase it label Dec 4, 2026
@harenome
harenome marked this pull request as ready for review December 4, 2026 08:09
@github-actions github-actions Bot added needs review Tests pass, no conflict, no verdict on its latest commit and removed merge conflict Conflicts with its base: merge or rebase it labels Dec 4, 2026
@harenome
harenome merged commit f27a074 into ThinkFlowLab:main Dec 4, 2026
4 checks passed
@harenome
harenome deleted the fix/task-sets-lock branch December 4, 2026 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs review Tests pass, no conflict, no verdict on its latest commit

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Task sets: a create, rename or delete at the same time can replace or lose a set

1 participant